<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="xdz" uri="/xdztools" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>新增菜单</title>
<link href="${xdz:domain() }/css/bootstrap.min.css" rel="stylesheet">
<link href="${xdz:domain() }/css/font-awesome.min.css" rel="stylesheet">
<link href="${xdz:domain() }/css/animate.min.css" rel="stylesheet">
<link rel="stylesheet" href="${xdz:domain() }/css/parsley.css" >
<script src="${xdz:domain() }/js/jquery.min.js"></script>
<script src="${xdz:domain() }/js/bootstrap.min.js"></script>
<script src="${xdz:domain() }/js/plugins/parsley/parsley.min.js"></script>
<script src="${xdz:domain() }/js/plugins/parsley/zh_cn.js"></script>
<script type="text/javascript">
    function back(){
        history.go(-1);
    }
</script>



<body>
    <form action="../systemRoleBase/insert" class="form-horizontal" id="systemRoleBaseForm" data-parsley-validate method="post">
        <div class="panel panel-default">
	    	<div class="panel-heading">
	            <div class="panel-title">角色新增</div>
	   		</div>
            <div class="panel-body">       
                   <div class="form-group">
                        <label class="col-md-2 control-label">角色名称</label>
                        <div class="col-md-8">
                            <input type="text" name="roleName" placeholder="" id="roleName" class="bg-focus form-control" required="required">
                        </div>
                    </div>
                    <div class="form-group">
                      	<label class="col-md-2 control-label"></label>
		                <div class="col-md-8 col-offset-1">
		                  <button type="submit" class="btn btn-primary">保存</button>
		                  <button type="button" class="btn btn-white" onclick="back()">取消</button>
		                </div>
		            </div>
            </div>
      	</div>
    </form>
</body>
</html>
